package com.example.system;

import com.example.starter.security.annotation.EnableOAuth2ResourceServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 王令
 * @since 2022/8/5 8:48
 */
@EnableScheduling
@EnableOAuth2ResourceServer
@EnableTransactionManagement
@MapperScan("com.example.system.mapper")
@SpringBootApplication
public class SystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
    }
}
